﻿using AZai.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AZai.ViewModel
{
    public class MyAppViewModel : TabBase
    {
        public MyAppViewModel()
        {
            for (int i = 0; i < 5; i++)
            {
                var item = new TempModel() {
                List=new List<string>() { "AduSkin","WPF","UI"}
                };
                List.Add(item);
            }
        }
        private ObservableCollection<TempModel> _List = new ObservableCollection<TempModel>();
        /// <summary>
        /// 属性.
        /// </summary>
        public ObservableCollection<TempModel> List
        {
            get { return _List; }
            set { Set(ref _List, value); }
        }
    }
}
